xend: pass-through: Common parse_pci_name()
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 17 Jun 2009 06:34:59 +0000 (07:34 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 17 Jun 2009 06:34:59 +0000 (07:34 +0100)
commit5a6a2f7e9b05157941b3f466619f7bad31652381
treeeccb5b7a0e2e754d509446097fab5ee7fa1f14cb
parent60c32a612fd667f5522211397bb28ec2836a2cd2
xend: pass-through: Common parse_pci_name()

Share some parsing code between different parts of xm.

This has the side-effect that the device specification for
hot-plug may now include the VSLOT and OPTS as per device
specifictions in the domain configuration file.

  SEQ:BUS:DEV.FUNC[,OPT...]

  e.g. 0000:00:01.00@6

Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/util/pci.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/XendNode.py
tools/python/xen/xend/server/pciif.py